import*as e from"../../core/common/common.js";import*as a from"../../core/i18n/i18n.js";import*as i from"../../models/workspace_diff/workspace_diff.js";import*as n from"../../ui/legacy/legacy.js";let s;const o={changes:"Changes",showChanges:"Show Changes"},t=a.i18n.registerUIStrings("panels/changes/changes-meta.ts",o),r=a.i18n.getLazilyComputedLocalizedString.bind(void 0,t);async function c(){return s||(s=await import("./changes.js")),s}n.ViewManager.registerViewExtension({location:"drawer-view",id:"changes.changes",title:r(o.changes),commandPrompt:r(o.showChanges),persistence:"closeable",loadView:async()=>(await c()).ChangesView.ChangesView.instance()}),e.Revealer.registerRevealer({contextTypes:()=>[i.WorkspaceDiff.DiffUILocation],destination:e.Revealer.RevealerDestination.CHANGES_DRAWER,loadRevealer:async()=>(await c()).ChangesView.DiffUILocationRevealer.instance()});
